package ch2;

import java.util.Scanner;

public class Ex5 {
    public static void main(String[] args) {
        Scanner console = new Scanner(System.in);
        System.out.println("输入小计和小费率：");
        double c = console.nextDouble();
        double s = console.nextDouble();
        System.out.println("小费：" + (c * 0.15) + "总费用：" + (c + (c * 0.15)));
    }
}
